import request from '@/utils/request'

/*
* 获取业务范围的接口
*  */
export const fetchBusinessScopeAPI = ({ id, type }) => {
  return request({
    url: `/manager/business-hall/scope/${id}/${type}`,
    method: 'GET'
  })
}

/*
* 保存业务范围的接口
*  */
export const addScopeAPI = (data) => {
  return request({
    url: '/manager/business-hall/scope',
    method: 'POST',
    data
  })
}
